XClient 802.1x client 2.0 is a commonly used H3C802.1x protocol authentication client in universities. Because the software does not determine the length field in the received data packet, the buffer overflow occurs, A Denial-of-Service vulnerability is generated. The program extracts 17th bytes of received data. After the symbol is extended, 4 is subtracted. Finally, the Code is directly transmitted to the memcpy function as the length, if the number
Graphical interface directory [hide]
1 Introduction
2 Architecture and principles
2.1 Xserver
2.2 Xclient
2.3 Xprotocol
3 window Manager
4 START process
4.1 startx
4.2 GDM Session
5 Configuration Files
5.1 x Server
5.2 x Client
6 fonts
6.1 FreeType Rendering Engine
6.2 x Core Font
6.3 Xft Fonts
Edit
Brief introduction
Xwindow is the industrial standard for workstation graphics systems, it has many different implementations, and most Linux systems use
]. Location. Hash on page a, so we can get it. The rest is simple. Specify iframe B in a to get the hash of C after loading, and then set the height of iframe B through hash. Details Code : Page A: (based on Yui) /*** Run the function after the IFRAME is loaded ** @ Param {element} el * @ Param {function} func */var oniframeload = function (El, func) {var cb = function () {try {func. call (this);} catch (e) {}} if (TB. bom. isie) {el. onreadystatechange = function () {If (El. readystate = 'comp
.
package mainimport ("flag""github.com/smallnest/rpcx/server""github.com/rpcx-ecosystem/rpcx-examples3")var (addr = flag.String("addr", "localhost:8972", "server address"))func main() {flag.Parse()s := server.Server{}s.RegisterName("Arith", new(example.Arith), "")go s.Serve("tcp", *addr)select {}}
Client
The client directly configures the address of the server, formatted as a network@ipaddress:port format, and is not found through third-party components.
package mainimport ("github.com/smallne
client.ProgramThe EAS. smartclient. MSI client only needs to download and install EAS. smartclient. MSI for the first time during runtime.
Is the server Department directory, and other xclient \ Assembly stores the application Assembly file, xclient \ config stores the system configuration file, including the Assembly list file and client configuration information:
Here, smartassembly. config is t
";//Save the user's current state;Szxclient = "xclient";//Save the user's current login software version number;SZXIP = "XIP";//Save the user's current login IP address;
/* Message Save configuration */Szxmsgtype = "Msgtype";//Message typeSzxmsgsend = "Sendid";//Message senderSZXMSGRECV = "GetID";//Message ReceiverSzxmsgdata = "Msgdata";//Message dataSzxmsgdate = "Sendtime";//Send DateSzxmsgread = "GetTime"; Receive Date
Readfieldinfo ();}
Xeim_config
X client program. Due to the restrictions, only the TCP/IP network environment is tested. X server is 192.168.1.2, and X client is 192.168.1.1.1) Windows X ServerA) Use SSH or telnetThere are many types of X server software under windows, I use X-win32 here. Running the X-win32 program in Windows is equivalent to an X server on the local machine. Remotely log on to Debian (I use VMware to simulate the network environment and directly enter the virtual machine to execute _ ^) and run:Xdkui @
wait for the response of a single command, but the redis server will process the response.After multiple commands are completed, the processing results of these commands are packaged and returned to the client. The communication process is as follows:
Client: INCR XClient: INCR XClient: INCR XClient: INCR XServer: 1Server: 2Server: 3Server: 4
It is assumed that
mget and mset to process multiple keysWe can also use pipeline to Package Multiple commands from the client and send them together without waiting for the response of a single command, the redis server will pack the processing results of multiple commands and return them to the client after processing multiple commands. The communication process is as follows:
Client: incr xClient: incr xClient: incr
In Windows, many people choose to install Xmanager+xshell, and then remotely connect to Linux, you can directly invoke the GUI interface of the software, easy and convenient.
But a lot of people have not tried to access the GUI of the Linux server by the SH connection on the Mac terminal. The following methods are described below
Brief introduction:
To achieve remote graphics access, you must forward the picture with the help of the X11 protocol. X11 sends the
interface of the remote interaction, about the X window architecture, interested please Baidu Google. Xshell's Xserver provides a way to automatically synchronize local Windows clipboard and remote xclient Clipboard. Because this approach requires the Linux x architecture to participate, it is necessary to configure and turn on the remote interface of the X window of Linux. Fortunately, the default configuration of Ubuntu has already turned on these
We often encounter some problems when studying Linux. For example, you may encounter a Data Flow Problem in the Linux graphics system. Here we will introduce the solution to the problem of data flow in the Linux graphics system, I will share it with you here.
Traditionally, the Linux graphics system is a C/S architecture of X11. The Common Graphics application is called XClient, and a program running on the background is called XServer. This method o
host is empty, it means that Xserver is running natively, and the graphics program (xclient) uses a UNIX socket to connect to Xserver instead of TCP. When you connect using TCP,NUMA subtracts the value of 6000 for the connected port, and if NUMA is 0, it is connected to port 6000; When you connect using the UNIX socket, the path of the connected UNIX socket is represented, and if 0, the connection is to/tmp/. X11-unix/x0.Numb is almost always 0.Ubunt
The logical coordinates are mapped to different display devices, and both x and Y are mapped, so that even if the device is different, x and Y change at the same time, so the shape of the drawing is not changed.
Use GetDeviceCaps to set the viewport and window range.
Set the logical coordinate system in the upper-left corner
Set the logical coordinate system in the lower left corner
Set the logical coordinate system in the middle
Call the Setwindoworgex function to set the logical point.
P
of display devices has a common displaynumber, and each individual device in this set of display devices has its own separate screennumber. Both Displaynumber and Screennumber are zero-based numbers. In this way, for our ordinary users, Displaynumber, Screennumber are all 0. Hostname refers to Xserver host name or IP address, the graphics will be displayed on this machine, can be started the graphical interface of the Linux/unix machine, can also be installed exceed, x-deep/ 32 Xserver Windows
PuTTY + Xming implements ssh forwarding for X11
1. Requirement Analysis
Some Linux programs cannot leave the window environment completely, or the operation is not convenient after leaving. Oracle is such a program. Most of its tool programs can be silently executed in command lines, such as OCI, DBCA, and NetCA, but it is more convenient to work in the graphic interface. Therefore, you need to use X11 XServer and XClient cross-network working princip
line interface and use startx to start the graphics. The display environment variable is automatically set to 0: 0. At this time, you can open the terminal and output the name of the graphics program (such as xclock) to start the program. The image is displayed in the local window. Enter printenv on the terminal to view the current environment variable. The output result contains the following content:
Display =: 0.0
You can use xdpyinfo to view more detailed information currentl
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.